package com.itheima.thread.communication.demo03;

// 定义奶箱
public class Box {

    private String milkType ;       // 定义奶的类型

    private String amount ;         // 定义奶量

    private boolean flag ;          // 作用：描述这个奶箱中是否有奶

    public String getMilkType() {
        return milkType;
    }

    public void setMilkType(String milkType) {
        this.milkType = milkType;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }
}
